﻿using System; 
using YhmOA.Common;

namespace YhmOA.Model
{
	//车辆申请
	public class Integrated_Car_TravelRecord
	{
   		     
      	/// <summary>
		/// ID
        /// </summary>
        public long ID { get; set; }        
		/// <summary>
		/// 编号
        /// </summary>
        public string SN { get; set; }        
		/// <summary>
		/// 车牌号码
        /// </summary>
        public string PlateNum { get; set; }        
		/// <summary>
		/// 用车人
        /// </summary>
        public string UserName { get; set; }        
		/// <summary>
		/// 用车单位
        /// </summary>
        public string UserCompany { get; set; }        
		/// <summary>
		/// 人数
        /// </summary>
        public int PeopleCount { get; set; }        
		/// <summary>
		/// 驾驶员
        /// </summary>
        public string Driver { get; set; }        
		/// <summary>
		/// 用车事由
        /// </summary>
        public string Cause { get; set; }        
		/// <summary>
		/// 出发时间
        /// </summary>
        public DateTime SendTime { get; set; }        
		/// <summary>
		/// 归还时间
        /// </summary>
        public DateTime ReturnTime { get; set; }        
		/// <summary>
		/// 出车时里程
        /// </summary>
        public decimal SendMileage { get; set; }        
		/// <summary>
		/// 归还时里程
        /// </summary>
        public decimal ReturnMileage { get; set; }        
		/// <summary>
		/// 本次行驶里程
        /// </summary>
        public decimal CurrentMileage { get; set; }        
		/// <summary>
		/// 去向
        /// </summary>
        public string Direction { get; set; }        
		/// <summary>
		/// 行车线路
        /// </summary>
        public string DrivingLine { get; set; }        
		/// <summary>
		/// 备注
        /// </summary>
        public string Remarks { get; set; }        
		/// <summary>
		/// 记录标识，0-常规，1-补记，2-冲销
        /// </summary>
        public int Flag { get; set; }        
		/// <summary>
		/// 插入时间
        /// </summary>
        public DateTime InsertDate { get; set; }        
		/// <summary>
		/// 更新时间
        /// </summary>
        public DateTime UpdateDate { get; set; }        
		   		
   		public Integrated_Car_TravelRecord()
   		{
			ID = 0;
			SN = string.Empty;
			PlateNum = string.Empty;
			UserName = string.Empty;
			UserCompany = string.Empty;
			PeopleCount = 0;
			Driver = string.Empty;
			Cause = string.Empty;
			SendTime = DateTime.MinValue;
			ReturnTime = DateTime.MinValue;
			SendMileage = 0;
			ReturnMileage = 0;
			CurrentMileage = 0;
			Direction = string.Empty;
			DrivingLine = string.Empty;
			Remarks = string.Empty;
			Flag = 0;
			InsertDate = DateTime.MinValue;
			UpdateDate = DateTime.MinValue;
   		}
	}
}